package com.salestax.core.specific.product;

import com.salestax.core.Product;
import com.salestax.core.specific.tax.ImportDuty;
import com.salestax.core.specific.tax.TaxRates;

public class ImportedProduct extends Product {

	public ImportedProduct(String description,int quantity,Product product) {
		super(description,product.getBasePrice().doubleValue(),quantity);
		this.taxes.addAll(product.getTaxes());
		addTax(new ImportDuty(TaxRates.IMPORT_DUTY));
	}



}
